package com.zhuchaooasystem.presenter.home.servicedetail;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.ServiceDetailEntity;

/**
 * Created by zhangyajiang on 2016/12/22.
 */

public interface ServiceDetailContract {

    interface View extends IView {
        void showAnonymousData(ServiceDetailEntity.ResultBean.SuccessfulBean entity);

        void showServiceData(ServiceDetailEntity.ResultBean.SuccessfulBean entity);

        void showExceptionData(ServiceDetailEntity.ResultBean.SuccessfulBean entity);

        void showMaterialData(ServiceDetailEntity.ResultBean.SuccessfulBean entity);

        void showCardsInfoData(ServiceDetailEntity.ResultBean.SuccessfulBean entity);

        void setClickable(boolean clickable);

        void finishService();
    }

    interface Presenter extends IPresenter {
        void downServiceDetailData(String id);

        void downServiceCardsInfo(String id);

        void finishService(int serviceid);
    }
}
